package org.jeecg.modules.api.falback;

import org.jeecg.modules.api.EmissionTestApi;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.stereotype.Component;

@Component
@ConditionalOnMissingClass("org.jeecg.modules.factor.controller.EmissionTestController")
public class EmissionTestFallback implements EmissionTestApi {

    /**
     * 获取碳排放因子库模块数据-熔断
     * @return
     */
    @Override
    public String getModelData() {
        return "进入到了 emission 模块的 熔断方法中...";
    }
}
